package com.cloud.simplespringboot.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author kangwen
 */
@Slf4j
@RestController
public class Controller {

	@GetMapping("/test")
	public String test() {
		log.debug("debug test==test");
		log.info("info test==test");
		log.warn("warn test==test");
		log.error("error test==test");
		return "test";
	}

}
